import fetch from 'utils/fetch';
// 分页
export function page(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/pushRule/page',
        method: 'post',
        data: obj
    });
}
// 修改状态 
export function updateMessageRuleStatus(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/pushRule/updateMessageRuleStatus',
        method: 'post',
        data: obj
    });
}
// 发送实时公告 
export function sendLiveAnnouncements(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/pushRule/sendLiveAnnouncements',
        method: 'post',
        data: obj
    })
}
// 编辑
export function updateMessageRule(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/pushRule/updateMessageRule',
        method: 'post',
        data: obj
    })
}
// 获取用户群体
export function getUserGroup(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/pushRule/getUserGroup',
        method: 'post',
        data: obj
    })
}
// 删除
export function deleteById(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/helpCenter/deleteById',
        method: 'get',
        params: query
    })
}